/*
* Copyright 2016 YONYOU Corporation Ltd. All Rights Reserved.
*
* This software is published under the terms of the YONYOU Software
* License version 1.0, a copy of which has been included with this
* distribution in the LICENSE.txt file.
*
* @Project         marketing

* @Package         com.yonyou.marketing.message.push.provider

* @Author          LuZhen

* @FileName        ProviderMessage

* @Date            16/11/5

----------------------------------------------------------------------------------
*     Date          Who             Version         Comments
* 1. 16/11/5        LuZhen          1.0             Create Source
*
----------------------------------------------------------------------------------
*/
package com.yonyou.gmmc.service.wechatpush.provider;

import org.marketing.common.constants.MessagePushConstant;

import com.yonyou.gmmc.service.wechatpush.resolver.PushMessage;


/**
 * 标记类，代表具体协议消息标记
 */
public interface ProviderMessage {
    
    /**
     * 返回平台信息
     * @return  PUSH_PLATFORM
     */
    MessagePushConstant.PUSH_PLATFORM getPlatForm();


    void fillContent(PushMessage pushMessage);

    /**
     * 获取源数据
     * @return  PushMessage
     */
    PushMessage getOrigin();

}
